/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projekt;

import java.util.List;

/**
 *
 * @author ADAM
 */
public abstract class TemplateDBConnector extends GetData
{
    @Override
    public List<String> pobierzDane(int pmIdOrganizmu) {
        return formatujZapytanie(pmIdOrganizmu);
    }
    abstract protected List<String> formatujZapytanie(int pmIdOrganizmu);
    abstract public boolean connect();
    abstract public boolean disconnect();
    
    
}
